<!DOCTYPE html>
<html>

<head lang="en">
    <meta charset="UTF-8">
    <title>登录</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="stylesheet" href="../AmazeUI-2.4.2/assets/css/amazeui.css"/>
    <link href="../css/dlstyle.css" rel="stylesheet" type="text/css">

    <script src="js/plugins/vue/dist/vue.js"></script>
    <script src="js/plugins/axios/dist/axios.js"></script>
    <script src="js/common.js"></script>
</head>
《宠物之家》是全球最早的中文宠物门户网站， <br/>
1999年10月正式开通，面向所有的中文宠物饲养者和爱好者，<br/>
为他们提供最专业最全面的宠物资讯平台，最安全、方便、快捷、舒心的宠物食用品商城，<br/>
最大最全面的面向全国所有宠物饲养者和爱好者的BBS交流平台，<br/>
最方便有亲和力浏览量最高的BLOG和相册发布平台，以及最优秀最贴心的会员增值服务。<br/>
<body>

</body>
<script type="text/javascript">
    new Vue({
        el: "#app",

        data: {
            accountUserForm: {
                account: '张三',
                checkPass: '1',
                type: 1,
            },
        },

        methods: {

            handleUsersLogin() {
                this.$http.post("/login/account", this.accountUserForm).then(res => {
                    if (res.data.success) {
                        location.href="index.html"
                        localStorage.setItem("token", res.data.obj.token);
                        localStorage.setItem("logininfo", JSON.stringify(res.data.obj.logininfo));
                    } else {
                        alert(res.data.msg)
                    }
                }).then(res => {
                    alert(res.data.msg)
                })
            }

        },

        mounted() {
            this.getImageCode();
        }
    })
</script>
</body>

</html>